package com.ruoyi.card.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 开卡记录对象 card_open_record
 * 
 * @author ancyshi
 * @date 2023-06-05
 */
public class CardOpenRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    private Long openRecordId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 开卡数量 */
    @Excel(name = "开卡数量")
    private Long number;

    /** 卡片名称 */
    @Excel(name = "卡片名称")
    private String cardName;

    /** 商户业务号VID */
    @Excel(name = "商户业务号VID")
    private String vid;

    /** VID账户名称 */
    @Excel(name = "VID账户名称")
    private String accountName;

    /** BIN段 */
    @Excel(name = "BIN段")
    private String bin;

    /** 卡片所属分组 */
    @Excel(name = "卡片所属分组")
    private String groupName;

    /** 识别码 */
    @Excel(name = "识别码")
    private String identificationCode;

    /** 自动额度管理(0,1) 备注: 0:OFF;1:NO */
    @Excel(name = "自动额度管理(0,1) 备注: 0:OFF;1:NO")
    private Integer isAutoLimit;

    /** 初始金额 */
    @Excel(name = "初始金额")
    private BigDecimal initBalanceAmount;

    /** 卡片有效年 */
    @Excel(name = "卡片有效年")
    private String expirationYear;

    /** 卡片有效月 */
    @Excel(name = "卡片有效月")
    private String expirationMonth;

    /** 开卡返回结果 */
    @Excel(name = "开卡返回结果")
    private String returnResult;

    /** 状态(0：失败；1：成功) */
    @Excel(name = "状态(0：失败；1：成功)")
    private Integer status;

    public void setOpenRecordId(Long openRecordId) 
    {
        this.openRecordId = openRecordId;
    }

    public Long getOpenRecordId() 
    {
        return openRecordId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setNumber(Long number) 
    {
        this.number = number;
    }

    public Long getNumber() 
    {
        return number;
    }
    public void setCardName(String cardName) 
    {
        this.cardName = cardName;
    }

    public String getCardName() 
    {
        return cardName;
    }
    public void setVid(String vid) 
    {
        this.vid = vid;
    }

    public String getVid() 
    {
        return vid;
    }
    public void setAccountName(String accountName) 
    {
        this.accountName = accountName;
    }

    public String getAccountName() 
    {
        return accountName;
    }
    public void setBin(String bin) 
    {
        this.bin = bin;
    }

    public String getBin() 
    {
        return bin;
    }
    public void setGroupName(String groupName) 
    {
        this.groupName = groupName;
    }

    public String getGroupName() 
    {
        return groupName;
    }
    public void setIdentificationCode(String identificationCode) 
    {
        this.identificationCode = identificationCode;
    }

    public String getIdentificationCode() 
    {
        return identificationCode;
    }
    public void setIsAutoLimit(Integer isAutoLimit) 
    {
        this.isAutoLimit = isAutoLimit;
    }

    public Integer getIsAutoLimit() 
    {
        return isAutoLimit;
    }
    public void setInitBalanceAmount(BigDecimal initBalanceAmount) 
    {
        this.initBalanceAmount = initBalanceAmount;
    }

    public BigDecimal getInitBalanceAmount() 
    {
        return initBalanceAmount;
    }
    public void setExpirationYear(String expirationYear) 
    {
        this.expirationYear = expirationYear;
    }

    public String getExpirationYear() 
    {
        return expirationYear;
    }
    public void setExpirationMonth(String expirationMonth) 
    {
        this.expirationMonth = expirationMonth;
    }

    public String getExpirationMonth() 
    {
        return expirationMonth;
    }
    public void setReturnResult(String returnResult) 
    {
        this.returnResult = returnResult;
    }

    public String getReturnResult() 
    {
        return returnResult;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("openRecordId", getOpenRecordId())
            .append("userId", getUserId())
            .append("number", getNumber())
            .append("cardName", getCardName())
            .append("vid", getVid())
            .append("accountName", getAccountName())
            .append("bin", getBin())
            .append("groupName", getGroupName())
            .append("identificationCode", getIdentificationCode())
            .append("isAutoLimit", getIsAutoLimit())
            .append("initBalanceAmount", getInitBalanceAmount())
            .append("expirationYear", getExpirationYear())
            .append("expirationMonth", getExpirationMonth())
            .append("returnResult", getReturnResult())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
